/**
 * Copyright (c) 2008-2012 FeiLong, Inc. All Rights Reserved.
 * <p>
 * 	This software is the confidential and proprietary information of FeiLong Network Technology, Inc. ("Confidential Information").  <br>
 * 	You shall not disclose such Confidential Information and shall use it 
 *  only in accordance with the terms of the license agreement you entered into with FeiLong.
 * </p>
 * <p>
 * 	FeiLong MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, 
 * 	INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * 	PURPOSE, OR NON-INFRINGEMENT. <br> 
 * 	FeiLong SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
 * 	THIS SOFTWARE OR ITS DERIVATIVES.
 * </p>
 */
package com.feilong.commons.core;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.feilong.commons.core.entity.BackWarnEntity;

/**
 * @author <a href="mailto:venusdrogon@163.com">金鑫</a>
 * @version 1.0 2012-2-17 下午3:45:21
 */
public class User implements Serializable{

	private static final long		serialVersionUID	= 6169015683493930412L;

	private Long					id;

	private Date					date;

	private BigDecimal				money;

	/**
	 * 昵称
	 */
	private String[]				nickName;

	private List<BackWarnEntity>	warnEntities;

	/**
	 * @param id
	 */
	public User(Long id){
		super();
		this.id = id;
	}

	/**
	 * 
	 */
	public User(){
		super();
	}

	/**
	 * @return the id
	 */
	public Long getId(){
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id){
		this.id = id;
	}

	/**
	 * @return the date
	 */
	public Date getDate(){
		return date;
	}

	/**
	 * @param date
	 *            the date to set
	 */
	public void setDate(Date date){
		this.date = date;
	}

	/**
	 * @return the money
	 */
	public BigDecimal getMoney(){
		return money;
	}

	/**
	 * @param money
	 *            the money to set
	 */
	public void setMoney(BigDecimal money){
		this.money = money;
	}

	/**
	 * @return the nickName
	 */
	public String[] getNickName(){
		return nickName;
	}

	/**
	 * @param nickName
	 *            the nickName to set
	 */
	public void setNickName(String[] nickName){
		this.nickName = nickName;
	}

	/**
	 * @return the warnEntities
	 */
	public List<BackWarnEntity> getWarnEntities(){
		return warnEntities;
	}

	/**
	 * @param warnEntities
	 *            the warnEntities to set
	 */
	public void setWarnEntities(List<BackWarnEntity> warnEntities){
		this.warnEntities = warnEntities;
	}
}
